package com.hutao.manage.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hutao.manage.util.StringUtil;

/**
 * 检验报告项
 * @author lyh
 *
 */
public class HospitalVisitExaminationReportsItem {

	/**
	 * 项目名
	 */
	private String projectName;
	
	/**
	 * 结果
	 */
	private String examinationResult;
	
	/**
	 * 结果标志  -1低于参考值，0是正常，1是高于参考值
	 */
	private String examinationResultMark;
	
	
	/**
	 * 单位
	 */
	private String examinationUnit;
	
	/**
	 * 参考值
	 */
	private String  referenceValues;
	
	@JsonIgnore
    public boolean isEmpty(){
    	if(this.getProjectName() == null && this.getExaminationResult() == null
    			&& this.getExaminationUnit() == null && this.getReferenceValues() == null){
    		return true;
    	}
    	return false;
    }


	public String getProjectName() {
		return StringUtil.meaningStr(projectName);
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getExaminationResult() {
		return StringUtil.meaningStr(examinationResult);
	}

	public void setExaminationResult(String examinationResult) {
		this.examinationResult = examinationResult;
	}

	

	public String getExaminationUnit() {
		return StringUtil.meaningStr(examinationUnit);
	}

	public void setExaminationUnit(String examinationUnit) {
		this.examinationUnit = examinationUnit;
	}

	public String getReferenceValues() {
		return StringUtil.meaningStr(referenceValues);
	}

	public void setReferenceValues(String referenceValues) {
		this.referenceValues = referenceValues;
	}


	public String getExaminationResultMark() {
		return examinationResultMark;
	}


	public void setExaminationResultMark(String examinationResultMark) {
		this.examinationResultMark = examinationResultMark;
	}
	
	
}
